import axios from '@/utils/axios'
import moment from "moment";

export function getScoreRulelist(params) {
  return axios({
    url: '/Preview/getScoreRulelist',
    method: 'post',
    data: params
  })
}

export function getPositionScoreList(params) {
    return axios({
      url: '/Preview/getPositionScoreList',
      method: 'post',
      data: params
    })
  }

  export function getPieceRulelist(params) {
    return axios({
      url: '/Preview/getPieceRuleList',
      method: 'post',
      data: params
    })
  }

  export function getPositionPieceList(params) {
    return axios({
      url: '/Preview/getPositionPieceList',
      method: 'post',
      data: params
    })
  }

  export function getKpiRulelist(params) {
    return axios({
      url: '/Preview/getKpiRuleList',
      method: 'post',
      data: params
    })
  }

  export function getPositionKpiList(params) {
    return axios({
      url: '/Preview/getPositionKpiList',
      method: 'post',
      data: params
    })
  }

  export function getRegionCoefficientList(params) {
    return axios({
      url: '/Preview/getRegionCoefficientList',
      method: 'post',
      data: params
    })
  }

  export function getEmpCoefficientList(params) {
    return axios({
      url: '/Preview/getEmpCoefficientList',
      method: 'post',
      data: params
    })
  }

  export function getPositionAssessorView(params) {
    return axios({
      url: '/Preview/getPositionAssessorView',
      method: 'post',
      data: params
    })
  }